package com.work.work.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.work.work.entity.Role;
import java.util.List;

public interface RoleService extends IService<Role> {
    boolean createRole(Role role);
    boolean updateRole(Role role);
    Page<Role> getRoleList(Integer current, Integer size);
    List<Role> getAllRoles();
    List<Role> searchRoles(String keyword);
}